

import axios from "@/utils/request.js"
// 获取商铺列表 
export const category = params => axios({
    url: '/shopping/v2/restaurant/category',
    method: 'get',
    params
})


// 获取配送方式
export const delivery_modes = () => axios({
    url: '/shopping/v1/restaurants/delivery_modes',
    method: "get",


})


// 商家属性活动列表
export const activity_attributes = () => axios({
    url: '/shopping/v1/restaurants/activity_attributes',
    method: 'get'
})


// 获取商铺列表
export const restaurants = params => axios({
    url: '/shopping/restaurants',
    method: 'get',
    params
})
